package com.hsmw.api.mapper;

import com.hsmw.api.vo.BeanUtilsRequestVO;
import com.hsmw.api.vo.RequestVo;
import com.hsmw.api.vo.VehicleStatisticsVO;
import com.hsmw.domain.HsmwOrderVehicleRequest;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;

/**
 * <p>
 * 订单中需要的车辆数据 Mapper 接口
 * </p>
 *
 * @author WD
 * @since 2021-02-02
 */
@Repository
public interface HsmwOrderVehicleRequestMapper extends  com.hsmw.common.base.BaseMapper<HsmwOrderVehicleRequest> {

    List<HsmwOrderVehicleRequest> selectUnCompleteReqlist();

    List<RequestVo> findRequstListByOrderId(String orderId);

    List<HsmwOrderVehicleRequest> expireTimerequestList();

    void saveRequestInfo(BeanUtilsRequestVO beanUtilsRequestVO);

    HsmwOrderVehicleRequest selectReqlist(String requestId);

    List<HsmwOrderVehicleRequest> selectCancellist(HashMap param);

    List<VehicleStatisticsVO> findVehicleInfoByOrderId(String orderId);
}
